extends Talent
var utils = globalData.infoDs["g_AneHekUtils"]
var base = globalData.infoDs["g_AneHekBase"]
func init():
	name = "食物引诱"

func _connect():
	run()
	sys.main.connect("onBattleEnd", self, "run")
	sys.main.player.connect("onPlusLv", self, "run")

func run():
	sys.main.player.plusEmp(5)
	var n = 2
	var diff = int(base.getSetting("difficult",1))
	n += int(diff/5)
	sys.main.player.renKou = sys.main.player.lv + n
	
func get_info():
	return "人口上限+2(难度越高增加越多)|每次升级和战斗结束后额外获得5经验[不会提升]\n此天赋不需要升级"